//
//  DataModel.h
//  构架模式MVC
//
//  Created by XHJ on 2020/8/24.
//  Copyright © 2020 L. All rights reserved.
//

#import <Foundation/Foundation.h>


NS_ASSUME_NONNULL_BEGIN

@interface DataModel : NSObject

@property (nonatomic, copy)NSString *name;
@property (nonatomic, copy)NSString *subName;

+ (DataModel *)modelWithDictionary:(id)dic;

+ (void)loadDataSuccess:(void(^)(id data))sucess failure:(void(^)(void))failure;

@end

NS_ASSUME_NONNULL_END
